<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>小米</title>
    <style>
      * {
        margin: 0;
        padding: 0;
      }
      a {
        text-decoration: none;
        color: #000;
        font-size: 12px;
      }
      .title {
        width: 1226px;
        height: 58px;
        background-color: #eee;
        margin: 0 auto;
        position: relative;
      }
      .title h2 {
        margin: 0;
        font-size: 22px;
        line-height: 58px;
        font-weight: 200;
      }
      .title .more {
        position: absolute;
        top: 0;
        right: 0;
        font-size: 16px;
        margin: 0;
        line-height: 58px;
      }
      .title .more .ear:hover,
      .wear:hover,
      .active {
        margin: 0 0 0 30px;
        color: orange;
        padding-bottom: 3px;
        border-bottom: 2px solid orange;
      }
      .title .more .wear {
        margin: 0 10px 0 30px;
        padding-bottom: 3px;
      }
      .container {
        width: 1226px;
        display: flex;
        justify-content: space-between;
        margin: 0 auto;
        background-color: #eee;
      }
      /* 左边的盒子 */
      .container .item-l {
        height: 614px;
        width: 234px;
        background-color: #fff;
        transition: all 0.3s linear;
      }
      .container .item-l:hover,
      .right-list .item:hover {
        transform: translateY(-3px);
        box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.1);
      }
      .right-list {
        width: 992px;
        display: flex;
        flex-wrap: wrap;
      }
      .right-list .item {
        margin-left: 14px;
        margin-bottom: 14px;
        width: 234px;
        height: 300px;
        padding: 20px 10px;
        box-sizing: border-box;
        text-align: center;
        background-color: #fff;
        transition: all 0.3s linear;
      }
      .right-list .item img {
        width: 160px;
        height: 160px;
      }
      .right-list .item .desc {
        color: #999;
        margin-top: 8px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }
      .right-list .item .price {
        margin-top: 14px;
        font-size: 14px;
      }
      .right-list .item .new-price {
        color: orange;
      }
      .right-list .item .old-price {
        color: #999;
        text-decoration: line-through;
        margin-left: 5px;
      }
    </style>
  </head>
  <body>
    <!-- 标题 -->
    <div class="title">
      <h2>智能穿戴</h2>
      <div class="more">
        <span class="ear active">耳机</span>
        <span class="wear">穿戴</span>
      </div>
    </div>
    <!-- 容器 -->
    <div class="container">
      <!-- 左边 -->
      <a href="" class="item-l">
        <img
          src="https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/c9550c95ee33a22dc8db677dada00f09.jpg?thumb=1&w=187&h=491&f=webp&q=90"
          alt=""
          width="234px"
        />
      </a>
      <!-- 右边 -->
      <div class="right-list">
        <!-- 单个商品 -->
        <a href="" class="item">
          <img
            src="https://cdn.cnbj1.fds.api.mi-img.com/nr-pub/202208111200_c1016839eae2c1f5bb79d5afde498e81.png?thumb=1&w=160&h=160&f=webp&q=90"
            alt=""
          />
          <h3 class="name">Xiaomi Buds 4 Pro</h3>
          <p class="desc">48dB智能动态降噪｜骨声纹通话降噪 | 独立空间音频</p>
          <div class="price">
            <span class="new-price">999元</span>
            <span class="old-price">1099元</span>
          </div> </a
        ><a href="" class="item">
          <img
            src="https://cdn.cnbj1.fds.api.mi-img.com/nr-pub/202208111200_c1016839eae2c1f5bb79d5afde498e81.png?thumb=1&w=160&h=160&f=webp&q=90"
            alt=""
          />
          <h3 class="name">Xiaomi Buds 4 Pro</h3>
          <p class="desc">48dB智能动态降噪｜骨声纹通话降噪 | 独立空间音频</p>
          <div class="price">
            <span class="new-price">999元</span>
            <span class="old-price">1099元</span>
          </div> </a
        ><a href="" class="item">
          <img
            src="https://cdn.cnbj1.fds.api.mi-img.com/nr-pub/202208111200_c1016839eae2c1f5bb79d5afde498e81.png?thumb=1&w=160&h=160&f=webp&q=90"
            alt=""
          />
          <h3 class="name">Xiaomi Buds 4 Pro</h3>
          <p class="desc">48dB智能动态降噪｜骨声纹通话降噪 | 独立空间音频</p>
          <div class="price">
            <span class="new-price">999元</span>
            <span class="old-price">1099元</span>
          </div> </a
        ><a href="" class="item">
          <img
            src="https://cdn.cnbj1.fds.api.mi-img.com/nr-pub/202208111200_c1016839eae2c1f5bb79d5afde498e81.png?thumb=1&w=160&h=160&f=webp&q=90"
            alt=""
          />
          <h3 class="name">Xiaomi Buds 4 Pro</h3>
          <p class="desc">48dB智能动态降噪｜骨声纹通话降噪 | 独立空间音频</p>
          <div class="price">
            <span class="new-price">999元</span>
            <span class="old-price">1099元</span>
          </div> </a
        ><a href="" class="item">
          <img
            src="https://cdn.cnbj1.fds.api.mi-img.com/nr-pub/202208111200_c1016839eae2c1f5bb79d5afde498e81.png?thumb=1&w=160&h=160&f=webp&q=90"
            alt=""
          />
          <h3 class="name">Xiaomi Buds 4 Pro</h3>
          <p class="desc">48dB智能动态降噪｜骨声纹通话降噪 | 独立空间音频</p>
          <div class="price">
            <span class="new-price">999元</span>
            <span class="old-price">1099元</span>
          </div> </a
        ><a href="" class="item">
          <img
            src="https://cdn.cnbj1.fds.api.mi-img.com/nr-pub/202208111200_c1016839eae2c1f5bb79d5afde498e81.png?thumb=1&w=160&h=160&f=webp&q=90"
            alt=""
          />
          <h3 class="name">Xiaomi Buds 4 Pro</h3>
          <p class="desc">48dB智能动态降噪｜骨声纹通话降噪 | 独立空间音频</p>
          <div class="price">
            <span class="new-price">999元</span>
            <span class="old-price">1099元</span>
          </div> </a
        ><a href="" class="item">
          <img
            src="https://cdn.cnbj1.fds.api.mi-img.com/nr-pub/202208111200_c1016839eae2c1f5bb79d5afde498e81.png?thumb=1&w=160&h=160&f=webp&q=90"
            alt=""
          />
          <h3 class="name">Xiaomi Buds 4 Pro</h3>
          <p class="desc">48dB智能动态降噪｜骨声纹通话降噪 | 独立空间音频</p>
          <div class="price">
            <span class="new-price">999元</span>
            <span class="old-price">1099元</span>
          </div> </a
        ><a href="" class="item">
          <img
            src="https://cdn.cnbj1.fds.api.mi-img.com/nr-pub/202208111200_c1016839eae2c1f5bb79d5afde498e81.png?thumb=1&w=160&h=160&f=webp&q=90"
            alt=""
          />
          <h3 class="name">Xiaomi Buds 4 Pro</h3>
          <p class="desc">48dB智能动态降噪｜骨声纹通话降噪 | 独立空间音频</p>
          <div class="price">
            <span class="new-price">999元</span>
            <span class="old-price">1099元</span>
          </div>
        </a>
      </div>
    </div>
  </body>
</html>
